package com.ruoyi.oto.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.oto.domain.CompanyTags;
import com.ruoyi.oto.domain.CompanyTagsCore;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 企业标签关系Mapper
 *
 * @author ruoyi
 */
@Mapper
public interface CompanyTagsMapper extends BaseMapper<CompanyTags>
{

    List<Long> getCompanyIdsByTagVal(@Param("conditions") List<String> conditions);

    List<CompanyTags> companyTagList(@Param("type") String type, @Param("companyId") Long companyId,@Param("roleId") Long roleId, @Param("targetObjId") String targetObjId, @Param("applyStatus") Integer applyStatus);

    List<CompanyTagsCore> getCompanyTagsQueryParam(@Param("type") String type,@Param("roleId") Long roleId, @Param("targetObjId") String targetObjId);

}
